package project.suntray.com.core.delegates;

import android.annotation.TargetApi;
import android.os.Build;
import android.support.annotation.RequiresApi;

/**
 * Created by zhangyang on 2017/12/12 14:58.
 * version 1
 */

public abstract  class NatteDelagate extends PermissCheckDelagate {

    @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
    public <T extends NatteDelagate> T getParentDelegate(){
        return  (T)getParentFragment();
    }
}
